package com.java.netty.common.pptp;


public enum PptpCmdEnum {
    /**
     * pptp 协议命令枚举
     */
    WAITCMD(1),
    NOCMD(2),
    RESET(3),
    ERR(4),
    MSG(5),
    GETENV(6),
    ENV_Q(7),
    ENV_A(8),
    BYE(9),
    REGID_Q(10),
    REGID_A(11),
    REGCH_Q(12),
    REGCH_A(13),
    UNREGCH_Q(14),
    UNREGCH_A(15),
    ACK(16),
    CMD_MSG(17),
    PPTP_CMD_MAX(0);
    int code;

    PptpCmdEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
